using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;

namespace Nirvana.SkillEditor
{
    [CustomEditor(typeof(SkillPlayableAsset))]
    public class SkillPlayableAssetInspector : Editor
    {
        private SkillPlayableAsset _asset;
        
        public void OnEnable()
        {
            _asset ??= target as SkillPlayableAsset;
        }

        public override void OnInspectorGUI()
        {
            _asset.action.OnGUI();
        }
    }
}